﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Resources/TPLOAMPage.Master" AutoEventWireup="true"
    CodeBehind="clinicsubmitloa.aspx.cs" Inherits="TPLOAWebClient.clinicsubmitloa" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="navbarPHolder" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:Button ID="profileBtn" runat="server" Font-Bold="False" OnClick="profileBtn_Click"
        Text="Profile" CausesValidation="False" CssClass="navbtnCSS" />
    <asp:Button ID="submitloaBtn" runat="server" Font-Bold="False" OnClick="submitloaBtn_Click"
        Text="Submit LOA" CausesValidation="False" CssClass="navbtnCSS" />
    <asp:Button ID="faqBtn" runat="server" Font-Bold="False" OnClick="faqBtn_Click" Text="FAQ"
        CausesValidation="False" CssClass="navbtnCSS" />
    <asp:Button ID="otherservicesBtn" runat="server" Font-Bold="False" OnClick="otherservicesBtn_Click"
        Text="Other Services" CausesValidation="False" CssClass="navbtnCSS" />
    <asp:Button ID="logoutBtn" runat="server" Font-Bold="False" OnClick="logoutBtn_Click"
        Text="Logout" CausesValidation="False" CssClass="navbtnCSS" />
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="sectionTitlePHolder" runat="server">
    Submit LOA
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="mainContentPHolder" runat="server">
    <table>
        <tr>
            <td colspan="2">
            </td>
        </tr>
        <tr>
            <td>
                Student Admin No.
            </td>
            <td>
                <asp:TextBox ID="studentadminnoTbx" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="studentadminnoTbx"
                    Display="Dynamic" ErrorMessage="Please enter the student's admin no" ForeColor="Red"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                From*
            </td>
            <td>
                <asp:DropDownList ID="monthfromDdl" runat="server" AutoPostBack="True" OnSelectedIndexChanged="monthfromDdl_SelectedIndexChanged">
                    <asp:ListItem Value="0">Month</asp:ListItem>
                </asp:DropDownList>
                <asp:DropDownList ID="dayfromDdl" runat="server" Enabled="False" EnableTheming="True">
                    <asp:ListItem Value="0">Day</asp:ListItem>
                </asp:DropDownList>
                <asp:DropDownList ID="yearfromDdl" runat="server" Enabled="False" EnableTheming="True">
                    <asp:ListItem Value="0">Year</asp:ListItem>
                </asp:DropDownList>
                &nbsp;(Date)
                <asp:DropDownList ID="timefromDdl" runat="server">
                    <asp:ListItem Value="0">Time</asp:ListItem>
                </asp:DropDownList>
                &nbsp;(Time)
            </td>
        </tr>
        <tr>
            <td>
                To*
            </td>
            <td>
                <asp:DropDownList ID="monthtoDdl" runat="server" AutoPostBack="True" OnSelectedIndexChanged="monthtoDdl_SelectedIndexChanged">
                    <asp:ListItem>Month</asp:ListItem>
                </asp:DropDownList>
                <asp:DropDownList ID="daytoDdl" runat="server" EnableTheming="True" Enabled="False">
                    <asp:ListItem Value="0">Day</asp:ListItem>
                </asp:DropDownList>
                <asp:DropDownList ID="yeartoDdl" runat="server" Enabled="False" EnableTheming="True">
                    <asp:ListItem>Year</asp:ListItem>
                </asp:DropDownList>
                &nbsp;(Date)
                <asp:DropDownList ID="timetoDdl" runat="server">
                    <asp:ListItem Value="0">Time</asp:ListItem>
                </asp:DropDownList>
                &nbsp;(Time)
            </td>
        </tr>
        <tr>
            <td>
                Reason(s)*
            </td>
            <td>
                <asp:TextBox ID="reasonTbx" runat="server" TextMode="MultiLine" 
                    style="font-family:Segoe UI, Arial, Helvetica"></asp:TextBox>
                <ajaxToolkit:TextBoxWatermarkExtender ID="TBWE2" runat="server" TargetControlID="reasonTbx"
                    WatermarkCssClass="watermarked" WatermarkText="Type the reason here." />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="reasonTbx"
                    ErrorMessage="Please state the reason" ForeColor="Red"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                Graded Assignment(s)*
            </td>
            <td>
                <asp:RadioButtonList ID="gradedassignmentRbl" runat="server" AutoPostBack="True"
                    OnSelectedIndexChanged="gradedassignmentRbl_SelectedIndexChanged" RepeatDirection="Horizontal">
                    <asp:ListItem Selected="True">Yes</asp:ListItem>
                    <asp:ListItem>No</asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr>
            <td class="style1">
                <asp:Panel ID="Panel1" runat="server">
                    Graded Assignment Details<br />
                    *Please include Subject Name and Lecturer
                </asp:Panel>
            </td>
            <td class="style1">
                <asp:Panel ID="Panel2" runat="server">
                    <asp:TextBox ID="gradedassignmentTbx" runat="server" TextMode="MultiLine" Style="font-family: Segoe UI, Arial, Helvetica"></asp:TextBox>
                </asp:Panel>
            </td>
        </tr>
        <tr>
            <td>
                Doctor's Name*
            </td>
            <td>
                <asp:TextBox ID="doctornameTbx" runat="server"></asp:TextBox>
                <ajaxToolkit:FilteredTextBoxExtender ID="ftbe" runat="server" FilterType="Custom,LowercaseLetters,UppercaseLetters"
                    TargetControlID="doctornameTbx" ValidChars=" " />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="doctornameTbx"
                    Display="Dynamic" ErrorMessage="Please enter the doctor's name" ForeColor="Red"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;
            </td>
            <td>
                <asp:Button ID="submitBtn" runat="server" Text="Submit" OnClick="submitBtn_Click"
                    CssClass="btnCSS" />
                <asp:Label ID="resultLbl" runat="server" ForeColor="Red"></asp:Label>
            </td>
        </tr>
    </table>
</asp:Content>
